package com.example.bookshop.service;

import com.example.bookshop.entity.Book;

import java.util.List;

/**
 * @auth shanyue
 * @date 2025年06月05日15:09
 */
public interface AdminService {

    List<Book> searchBooks(String keyword, int offset, int size);
    int countBooks(String keyword);
    void insert(Book book);
    void updateBook(Book book);
    void deleteById(Integer id);

}
